package com.itcast.java.member.feign;

import com.itcast.java.common.base.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * 写点什么？
 *
 * @author hrz
 * @since 2020/9/17 0017
 */
@FeignClient(value = "gulimall-coupon")
public interface ICouponService {

    @GetMapping("/test/coupons/{userId}")
    R<?> coupons(@PathVariable String userId);

}
